﻿using SqlSugar;

namespace AT.Data.Core.SC_Customer
{
    ///<summary>
    ///销售合同表(SC=SalesContract,OA=数据来源系统)
    ///</summary>
    [SugarTable("SC_SalesContract")]
    [Tenant("USER")]
    public partial class SC_SalesContract
    {
           public SC_SalesContract(){


           }
           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:False
           /// </summary>           
           public int Id {get;set;}

           /// <summary>
           /// Desc:CAT编号
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string CAT {get;set;}

           /// <summary>
           /// Desc:CAS编号
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string CAS {get;set;}

           /// <summary>
           /// Desc:客户代码
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string CustomerCode {get;set;}

           /// <summary>
           /// Desc:客户名称
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string CustomerName {get;set;}

           /// <summary>
           /// Desc:申请日期
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string ApplicationDate {get;set;}

           /// <summary>
           /// Desc:合同评审编号
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string ContractReviewNo {get;set;}

           /// <summary>
           /// Desc:创建人
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string CreaterName {get;set;}

           /// <summary>
           /// Desc:申请部门
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string Department {get;set;}

           /// <summary>
           /// Desc:BD人员
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string BD {get;set;}

           /// <summary>
           /// Desc:是否需要GMP审计
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string IsGMP {get;set;}

           /// <summary>
           /// Desc:客户分布
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string CustomerDistribution {get;set;}

           /// <summary>
           /// Desc:客户分类
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string CustomerKind {get;set;}

           /// <summary>
           /// Desc:客服人员
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string CustomerService {get;set;}

           /// <summary>
           /// Desc:项目分类
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string ProjectType {get;set;}

           /// <summary>
           /// Desc:报价单号
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string QuotationNo {get;set;}

           /// <summary>
           /// Desc:合同意向来源方式
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string ContractIntentSource {get;set;}

           /// <summary>
           /// Desc:价格币种
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string PriceCurrency {get;set;}

           /// <summary>
           /// Desc:订单总量
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string TotalOrderQty {get;set;}

           /// <summary>
           /// Desc:订单金额
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string OrderAmount {get;set;}

           /// <summary>
           /// Desc:交货时间
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string DeliveryTime {get;set;}

           /// <summary>
           /// Desc:来源系统：ERP/OA
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string SourceSystem {get;set;}

           /// <summary>
           /// Desc:系统Id
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string SystemId {get;set;}

           /// <summary>
           /// Desc:创建时间
           /// Default:
           /// Nullable:True
           /// </summary>           
           public DateTime? CreateDate {get;set;}

    }
}
